<!--
/*
 * SPDX-License-Identifier: GPL-3.0-or-later
 * Copyright 2014 The moOde audio player project / Tim Curtis
 *
 * 汉化：Androidnews
 *
*/
-->
<div id="container">
<div class="container">
	<h1 class="ren-config">UPnP</h1>

    <form class="form-horizontal" action="" method="post">
    	<legend>设置
			<button class="legend-config btn btn-medium btn-primary btn-submit" type="submit" name="save" value="1">保存</button>
		</legend>

		<div class="config-horiz-rule">常规</div>

		<div class="control-group">
			<label class="control-label" for="upnpav">服务类型</label>
			<div class="controls">
				<select id="svctype" class="config-select-large" name="config[svctype]">
					$_select[svctype]
				</select>
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-svctype" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
				<span id="info-svctype" class="config-help-info">
					Select either UPnP-A/V or OpenHome service.
                </span>
			</div>

			<label class="control-label" for="checkcontentformat">检查连接</label>
			<div class="controls">
				<select id="checkcontentformat" class="config-select-large" name="config[checkcontentformat]">
					$_select[checkcontentformat]
				</select>
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-check-content-format" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
				<span id="info-check-content-format" class="config-help-info">
					Check that the input format is supported. Set this option to No if a control point or media server sends good audio data with bad metadata.<br>
                </span>
			</div>
		</div>

		<div class="config-horiz-rule">Qobuz音乐服务</div>
		<p class="sub-legend">
			在此处输入订阅凭据将创建Qobuz音乐服务的代理媒体服务器.此媒体服务器将出现在UPnP控制点中.
		</p>

		<div class="control-group">
			<label class="control-label" for="qobuzuser">Qobuz用户</label>
			<div class="controls">
				<input class="config-input-large" type="text" id="qobuzuser" name="config[qobuzuser]" value="$_select[qobuzuser]">
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-qobuzuser" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
				<span id="info-qobuzuser" class="config-help-info">
					Userid for the Qobuz subscription.
                </span>
			</div>

			<label class="control-label" for="qobuzuser">Qobuz密码</label>
			<div class="controls">
				<input class="config-input-large" type="password" id="qobuzpass" name="config[qobuzpass]" value="$_select[qobuzpass]">
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-qobuzpass" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
				<a class="show-hide-password" href="#notarget" data-id="qobuzpass"><i class="fa-regular fa-sharp fa-eye"></i></a>
				<span id="info-qobuzpass" class="config-help-info">
					Password for the Qobuz subscription.
                </span>
			</div>

			<label class="control-label" for="qobuzformatid">Qobuz质量</label>
			<div class="controls">
				<select id="qobuzformatid" class="config-select-large" name="config[qobuzformatid]">
					$_select[qobuzformatid]
				</select>
				<a aria-label="Help" class="config-info-toggle" data-cmd="info-qobuzformatid" href="#notarget"><i class="fa-regular fa-sharp fa-info-circle"></i></a>
				<span id="info-qobuzformatid" class="config-help-info">
					Specify the desired stream quality or optionally "Highest resolution available" if the subscription allows all quality levels.
                </span>
			</div>
		</div>
	</form>
</div>
</div>
